﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XKJ.OAWeb.Models;
using XKJ.OAWeb.Shared;

namespace XKJ.OAWeb.Application
{
    public interface IUserRoleService
    {
        /// <summary>
        /// 用户角色关系表添加
        /// </summary>
        /// <param name="userRole"></param>
        /// <returns></returns>
        public int UserRoleAdd(UserRole userRole);
        /// <summary>
        /// 用户角色关系表显示+查询
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        public List<UserRole> UserRoleShow(int Id);
    }
}
